package com.erp.erp_mask.mapper;

import com.erp.erp_mask.pojo.TProcess;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.erp.erp_mask.vo.StateData;
import org.apache.ibatis.annotations.Param;

import javax.swing.plaf.nimbus.State;
import java.util.List;

/**
* @author yang
* @description 针对表【t_process】的数据库操作Mapper
* @createDate 2024-05-30 11:18:31
* @Entity com.erp.erp_mask.pojo.TProcess
*/
public interface TProcessMapper extends BaseMapper<TProcess> {
    void addprocess(TProcess process);
    //领料
    Integer searchintname(String name);
    List<TProcess> listsearch(String opendate,String comeTime, Integer stateId);
    void ltpedit(@Param("name") String name, @Param("count") Integer count);
    void edit(TProcess tProcess);
    void lstateedit(TProcess tProcess);
    void stateupdate(Integer id);
    //生产修改状态
    void proedit(StateData stateData);
    //订单状态
    void ordedit(StateData stateData);
    //订单数量
    void numedit(StateData stateData);
}




